/**
 * 
 */
package org.cuatrovientos.collectionexercice2;

/**
 * pag82 Collection Exercice 2 
 * @author daniel_ancin
 *
 */
public class Card {
	private String name;
	private String suit;
	private int value;
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the suit
	 */
	public String getSuit() {
		return suit;
	}

	/**
	 * @return the value
	 */
	public int getValue() {
		return value;
	}

	
	/**
	 * constructor
	 * @param name
	 * @param suit
	 * @param value
	 */
	public Card(String name, String suit, int value) {
		super();
		this.name = name;
		this.suit = suit;
		this.value = value;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Card [name=" + name + ", suit=" + suit + ", value=" + value
				+ "]";
	}
	
}
